package com.cloud.entity;

import com.alibaba.fastjson.JSONObject;

/**
 * @author Henry.Song
 * @version 2020/11/26
 * @description
 */
public class UploadFileEntity extends JSONObject {
    public Integer getId() {
        return getIntValue("id");
    }

    public void setId(Integer id) {
        put("id", id);
    }

    public String getFileName() {
        return getString("fileName");
    }

    public void setFileName(String fileName) {
        put("fileName", fileName);
    }

    public String getFilePath() {
        return getString("filePath");
    }

    public void setFilePath(String filePath) {
        put("filePath", filePath);
    }

    public String getFileType() {
        return getString("fileType");
    }

    public void setFileType(String fileType) {
        put("fileType", fileType);
    }

    public String getDetectType() {
        return getString("detectType");
    }

    public void setDetectType(String detectType) {
        put("detectType", detectType);
    }

    public String getConvertedMediaType() {
        return getString("convertedMediaType");
    }

    public void setConvertedMediaType(String mediaType) {
        put("convertedMediaType", mediaType);
    }

    public String getCheckSum() {
        return getString("checkSum");
    }

    public void setCheckSum(String checkSum) {
        put("checkSum", checkSum);
    }

    public String getDownloadURL() {
        return getString("downloadURL");
    }

    public void setDownloadURL(String downloadURL) {
        put("downloadURL", downloadURL);
    }

    public void setOriginFilePath(String originFilePath) {
        put("originFilePath", originFilePath);
    }

    public String getOriginFilePath() {
        return getString("originFilePath");
    }

    public void setFileSize(Integer fileSize) {
        put("fileSize", fileSize);
    }

    public Integer getFileSize() {
        return getInteger("fileSize");
    }
}
